﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CCD RID: 3277
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PALJAFMCLAN : IMessage<PALJAFMCLAN>, IMessage, IEquatable<PALJAFMCLAN>, IDeepCloneable<PALJAFMCLAN>, IBufferMessage
	{
		// Token: 0x17002937 RID: 10551
		// (get) Token: 0x0600925D RID: 37469 RVA: 0x00184753 File Offset: 0x00182953
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PALJAFMCLAN> Parser
		{
			get
			{
				return PALJAFMCLAN._parser;
			}
		}

		// Token: 0x17002938 RID: 10552
		// (get) Token: 0x0600925E RID: 37470 RVA: 0x0018475A File Offset: 0x0018295A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PALJAFMCLANReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002939 RID: 10553
		// (get) Token: 0x0600925F RID: 37471 RVA: 0x0018476C File Offset: 0x0018296C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PALJAFMCLAN.Descriptor;
			}
		}

		// Token: 0x06009260 RID: 37472 RVA: 0x00184773 File Offset: 0x00182973
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PALJAFMCLAN()
		{
		}

		// Token: 0x06009261 RID: 37473 RVA: 0x0018477C File Offset: 0x0018297C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PALJAFMCLAN(PALJAFMCLAN other) : this()
		{
			this.costData_ = ((other.costData_ != null) ? other.costData_.Clone() : null);
			this.freeReforgeNum_ = other.freeReforgeNum_;
			this.intReforgeNumValue_ = other.intReforgeNumValue_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009262 RID: 37474 RVA: 0x001847D4 File Offset: 0x001829D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PALJAFMCLAN Clone()
		{
			return new PALJAFMCLAN(this);
		}

		// Token: 0x1700293A RID: 10554
		// (get) Token: 0x06009263 RID: 37475 RVA: 0x001847DC File Offset: 0x001829DC
		// (set) Token: 0x06009264 RID: 37476 RVA: 0x001847E4 File Offset: 0x001829E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemCostData CostData
		{
			get
			{
				return this.costData_;
			}
			set
			{
				this.costData_ = value;
			}
		}

		// Token: 0x1700293B RID: 10555
		// (get) Token: 0x06009265 RID: 37477 RVA: 0x001847ED File Offset: 0x001829ED
		// (set) Token: 0x06009266 RID: 37478 RVA: 0x001847F5 File Offset: 0x001829F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FreeReforgeNum
		{
			get
			{
				return this.freeReforgeNum_;
			}
			set
			{
				this.freeReforgeNum_ = value;
			}
		}

		// Token: 0x1700293C RID: 10556
		// (get) Token: 0x06009267 RID: 37479 RVA: 0x001847FE File Offset: 0x001829FE
		// (set) Token: 0x06009268 RID: 37480 RVA: 0x00184806 File Offset: 0x00182A06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int IntReforgeNumValue
		{
			get
			{
				return this.intReforgeNumValue_;
			}
			set
			{
				this.intReforgeNumValue_ = value;
			}
		}

		// Token: 0x06009269 RID: 37481 RVA: 0x0018480F File Offset: 0x00182A0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PALJAFMCLAN);
		}

		// Token: 0x0600926A RID: 37482 RVA: 0x00184820 File Offset: 0x00182A20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PALJAFMCLAN other)
		{
			return other != null && (other == this || (object.Equals(this.CostData, other.CostData) && this.FreeReforgeNum == other.FreeReforgeNum && this.IntReforgeNumValue == other.IntReforgeNumValue && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600926B RID: 37483 RVA: 0x00184880 File Offset: 0x00182A80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.costData_ != null)
			{
				num ^= this.CostData.GetHashCode();
			}
			if (this.FreeReforgeNum != 0U)
			{
				num ^= this.FreeReforgeNum.GetHashCode();
			}
			if (this.IntReforgeNumValue != 0)
			{
				num ^= this.IntReforgeNumValue.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600926C RID: 37484 RVA: 0x001848EE File Offset: 0x00182AEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600926D RID: 37485 RVA: 0x001848F6 File Offset: 0x00182AF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600926E RID: 37486 RVA: 0x00184900 File Offset: 0x00182B00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IntReforgeNumValue != 0)
			{
				output.WriteRawTag(48);
				output.WriteInt32(this.IntReforgeNumValue);
			}
			if (this.FreeReforgeNum != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.FreeReforgeNum);
			}
			if (this.costData_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.CostData);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600926F RID: 37487 RVA: 0x00184978 File Offset: 0x00182B78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.costData_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.CostData);
			}
			if (this.FreeReforgeNum != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FreeReforgeNum);
			}
			if (this.IntReforgeNumValue != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.IntReforgeNumValue);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009270 RID: 37488 RVA: 0x001849E8 File Offset: 0x00182BE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PALJAFMCLAN other)
		{
			if (other == null)
			{
				return;
			}
			if (other.costData_ != null)
			{
				if (this.costData_ == null)
				{
					this.CostData = new ItemCostData();
				}
				this.CostData.MergeFrom(other.CostData);
			}
			if (other.FreeReforgeNum != 0U)
			{
				this.FreeReforgeNum = other.FreeReforgeNum;
			}
			if (other.IntReforgeNumValue != 0)
			{
				this.IntReforgeNumValue = other.IntReforgeNumValue;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009271 RID: 37489 RVA: 0x00184A64 File Offset: 0x00182C64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009272 RID: 37490 RVA: 0x00184A70 File Offset: 0x00182C70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 96U)
					{
						if (num != 106U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.costData_ == null)
							{
								this.CostData = new ItemCostData();
							}
							input.ReadMessage(this.CostData);
						}
					}
					else
					{
						this.FreeReforgeNum = input.ReadUInt32();
					}
				}
				else
				{
					this.IntReforgeNumValue = input.ReadInt32();
				}
			}
		}

		// Token: 0x040037C6 RID: 14278
		private static readonly MessageParser<PALJAFMCLAN> _parser = new MessageParser<PALJAFMCLAN>(() => new PALJAFMCLAN());

		// Token: 0x040037C7 RID: 14279
		private UnknownFieldSet _unknownFields;

		// Token: 0x040037C8 RID: 14280
		public const int CostDataFieldNumber = 13;

		// Token: 0x040037C9 RID: 14281
		private ItemCostData costData_;

		// Token: 0x040037CA RID: 14282
		public const int FreeReforgeNumFieldNumber = 12;

		// Token: 0x040037CB RID: 14283
		private uint freeReforgeNum_;

		// Token: 0x040037CC RID: 14284
		public const int IntReforgeNumValueFieldNumber = 6;

		// Token: 0x040037CD RID: 14285
		private int intReforgeNumValue_;
	}
}
